/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package game;

import game.utils.StdIn;

/**
 *
 * @author s1041841
 */
public class JustMessingAround {

    public void test() {
        System.out.println("Does it have zero legs? [Y/N]");
        String a = StdIn.readString();
        if (a.equals("Y")) {
            System.out.println("Is it aquatic? [Y/N]");
            String b = StdIn.readString();
            if (b.equals("Y")) {
                System.out.println("Does it have fins? [Y/N]");
                String c = StdIn.readString();
                if (c.equals("Y")) {
                    System.out.println("Is it a fish? [Y/N]");
                    String d = StdIn.readString();
                    if (d.equals("Y")) {
                        System.out.println("Does it live in fresh water? [Y/N]");
                        String e = StdIn.readString();
                    } else if (d.equals("N")) {
                    }
                } else if (c.equals("N")) {
                    System.out.println("Does it have bones? [Y/N]");
                    String h = StdIn.readString();
                    if (h.equals("Y")) {
                        System.out.println("Is it a watersnake? [Y/N]");
                        String i = StdIn.readString();
                        if (i.equals("Y")) {
                            System.out.println("Told you I'd get it!");
                            //return something;
                        } else if (i.equals("Y")) {
                            System.out.println("I give up! You Win.");
                            //return something;
                        }
                    } else if (h == "N") {
//                        more questions about invertabrites
                    }
                }
            } else if (b == "N") { //not aquatic//
                System.out.println("Is it a snake?");
                String k = StdIn.readString();
                if (k == "Y") {
                    System.out.println("Is it venemous? [Y/N]");
                    String l = StdIn.readString();
                    if (l == "Y") {
                        System.out.println("Does it live in hot areas? [Y/N]");
                        String m = StdIn.readString();
                    } else if (l == "N") {
                        System.out.println("Is it a python? [Y/N]");
                        String n = StdIn.readString();
                        if (n == "Y") {
                            System.out.println("Told you I'd get it!");
                            //return something;
                        } else if (n == "N") {
                            System.out.println("I give up! You Win.");
                            //return something;
                        }
                    }
                }
            }
        }
    }
}
